require "streamium"

include PCLink 
key = ARGV.shift
streamium = Streamium.new
streamium.connect("192.168.2.4", 8081)
streamium.artists.each do |artist|
  if artist.name =~ /#{key}/ 
    puts artist.name
    artist.albums.each {|album| puts "\t#{album.name}"}
  end
end
